<div class="container">

<div class="form">
<?=form_open()?>

<div>
<label>Nom d'utilisateur:</label>
<input type="text" name="username" value="<?php echo set_value('username'); ?>"><?php echo form_error('username','<div class="error">', '</div>'); ?>
</div>
<div>
<label>Nom:</label>
<input type="text" name="lastname" value="<?php echo set_value('lastname'); ?>"><?php echo form_error('lastname','<div class="error">', '</div>'); ?>
</div>
<div>
<label>Prénom:</label>
<input type="text" name="firstname" value="<?php echo set_value('firstname'); ?>"><?php echo form_error('firstname','<div class="error">', '</div>'); ?>
</div>
<div>
<label>Mot de passe:</label>
<input type="password" name="password" value="<?php echo set_value('password'); ?>"><?php echo form_error('password','<div class="error">', '</div>'); ?>
</div>
<div>
<label>Confirmez mot de passe:</label>
<input type="password" name="passconf" value="<?php echo set_value('passconf'); ?>"><?php echo form_error('passconf','<div class="error">', '</div>'); ?>
</div>
<div><label>email:</label>
<input type="text" name="email" value="<?php echo set_value('email'); ?>"><?php echo form_error('email','<div class="error">', '</div>'); ?>
</div>
<div>
<?php $attribute_submit = array('name'=>'add','id'=>'button','value'=>'add');?>
<?=form_submit($attribute_submit);?>
<?php $attribute_cancel = array('name'=>'button','id'=>'button');?>
<?php $btn_cancel = form_button($attribute_cancel,'cancel');?>
<?=anchor('admin990/profile',$btn_cancel,'cancel');?>
</div>
<?=form_close()?>
</div>
</div>

</body>
</html>